package com.stylefeng.guns.modular.system.service.impl;

import com.stylefeng.guns.modular.system.model.WakeUp;
import com.stylefeng.guns.modular.system.dao.WakeUpMapper;
import com.stylefeng.guns.modular.system.service.IWakeUpService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 唤醒DeepLink表 服务实现类
 * </p>
 *
 * @author kutty
 * @since 2018-12-20
 */
@Service
public class WakeUpServiceImpl extends ServiceImpl<WakeUpMapper, WakeUp> implements IWakeUpService {

    @Autowired
    WakeUpMapper wakeUpMapper;

    @Override
    public WakeUp getWakeupByCpid(String cpid) throws Exception {
        return wakeUpMapper.selByCpid(cpid);
    }

}
